/**
 *
 */
package com.dhcc.frame.guava.entity;

/**
 * @author 谢进军
 *
 */
public class City {

	private String name;

	private String zipCode;

	private int population;

	/**
	 *
	 */
	public City() {
		super();
	}
	/**
	 * @param name
	 * @param zipCode
	 * @param population
	 */
	public City(String name, String zipCode, int population) {
		this.name = name;
		this.zipCode = zipCode;
		this.population = population;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the zipCode
	 */
	public String getZipCode() {
		return zipCode;
	}

	/**
	 * @param zipCode the zipCode to set
	 */
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	/**
	 * @return the population
	 */
	public int getPopulation() {
		return population;
	}

	/**
	 * @param population the population to set
	 */
	public void setPopulation(int population) {
		this.population = population;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "City [name=" + name + ", zipCode=" + zipCode + ", population="
				+ population + "]";
	}
}
